﻿#include <QApplication>
#include <QFile>
#include <QDebug>
#include <QLineEdit>

#include "virtualkeyboard.h"

/* 测试类 */

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    // 设置数据库，用于汉字输出
    QString exePath = QCoreApplication::applicationDirPath();
#ifdef DEBUG_MODE
    qDebug() << __func__ << __LINE__ << "Executable Path:" << exePath;
#endif
    VirtualKeyBoard::getKeyboard()->initSql(exePath + "/ChinesePY.db");

    return a.exec();
}



